export interface IMenuItemType{
  path: string
  icon: string
  name: string
  children?: IMenuItemType[]
}

export const menuList: IMenuItemType[] = [
  { path: '/index', name: '首页介绍', icon: 'home' },
  { path: '/example', name: '示例页', icon: 'shebei' },
  { path: '/icons', name: '内置字体图标库', icon: 'tubiao' },
  { path: '/utils', name: '内置工具类', icon: 'util', children: [
    { path: '/utils/array', name: '数组工具类', icon: 'util' },
    { path: '/utils/date', name: '日期工具类', icon: 'date1' },
    { path: '/utils/request', name: '请求工具类', icon: 'request' },
    { path: '/utils/common', name: '常用工具类', icon: 'util' },
  ]},
  { path: '/directive', name: '内置自定义指令', icon: 'RequestQuote', children: [
    { path: '/directive/drag', name: '拖拽指令', icon: 'drag1' },
    { path: '/directive/loding', name: '加载中指令', icon: 'loading1' },
    { path: '/directive/tabChange', name: 'tab栏切换指令', icon: 'exchange1' },
  ] },
  { path: '/charts', name: '内置图表', icon: 'chart-bar', children: [
    { path: '/charts/pie', name: '饼图', icon: 'icon' },
    { path: '/charts/line', name: '折线图', icon: 'chart-line' },
    { path: '/charts/bar', name: '柱状图', icon: 'chart-bar1' },
  ] },
  { path: '/form/generator', name: '表单生成器', icon: 'tubiao' },
  { path: '/form/parse', name: '表单解析器', icon: 'tubiao' }, 
]